lcWndMessage Home

Displays a message box. The caption is a value of LC_PROP_G_MSGTITLE property.

 int lcWndMessage (
   HANDLE hLcWnd,
   LPCWSTR szText,
   int uType
 );

Parameters
hLcWnd
  Handle to a graphics window.
szText
  Message text.
uType
  The contents and behavior of the dialog box. Use same values as for Windows API MessageBox function.
Can be used the same mnemonic with adding LC_ prefix.

Return Value

  Same as for Windows API MessageBox function.

Code sample:
  lcPropPutStr( 0, LC_PROP_G_MSGTITLE, L"ImageRect" );
  ... 
  lcWndMessage( hLcWnd, L"Can not process this image", LC_MB_OK | LC_MB_ICONSTOP );